<template>
  <div class="lnzzqs">
    <div class="table-tb">
      <el-col :span="3"><i class="el-icon-collection-tag" style="margin-left: 15px"></i> 序号 </el-col>
      <el-col :span="7"><i class="el-icon-suitcase" style="margin-left: 15px"></i> 总种植面积(亩) </el-col>
      <el-col :span="7"><i class="el-icon-user"></i> 预估产量(吨)</el-col>
      <el-col :span="7"><i class="el-icon-user"></i> 预估产值(元)</el-col>
    </div>
    <div class="box">
      <div class="table-tb" v-for="(item, index) in dataInfo.list3" :key="index">
        <el-col :span="3" class="c-success">
          {{ index + 1 }}
        </el-col>
        <el-col :span="7" class="c-success">
          {{ item.val }}
        </el-col>
        <el-col :span="7" class="c-success">
          {{ item.val1 }}
        </el-col>
        <el-col :span="7" class="c-success">
          {{ item.val2 }}
        </el-col>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    dataInfo: {
      type: Object,
      default: () => {}
    }
  },
  data() {
    return {}
  }
}
</script>

<style lang="scss" scoped>
.lnzzqs {
  height: 213px;
  .c-success {
    color: #1890ff;
  }
  .table-tb {
    font-size: 12px;
    height: 30px;
    width: 100%;
    line-height: 30px;
    border-radius: 5px;
    text-align: center;
    background: #f5f6fa;
    color: #b2b8c5;
    text-indent: -10px;
  }

  .table-tb:nth-child(even) {
    background: #fbfcfc;
  }

  .table-tb:hover {
    background: #fafafa;
  }
  .box {
    overflow-y: auto;
    margin-top: 5px;
  }
}
</style>
